package com.easy.service.impl;

import java.util.List;
import java.util.Map;

import com.easy.bean.User;
import com.easy.dao.UserDao;

public class LoginService {
private UserDao userD=new UserDao();
	
	public User query(String username) {
		String sql = "select * from h_user where username='" + username+"'";
		return userD.query(sql);
	}
}
